package com.car.loan.project.xr.util.repayment;

import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import lombok.Data;

/**
 * @author huangding
 * @description 获取还款信息参数
 * @date 2019/12/31 9:26
 */
@Data
public class RepaymentInfoParam {

    @ApiModelProperty("放贷时间")
    private String lendDate;

    @ApiModelProperty("账单日 最小值1 最大值28")
    @Min(1)
    @Max(28)
    private Integer statementDay;

    @ApiModelProperty("融资金额")
    private BigDecimal financingAmount;

    @ApiModelProperty("分期金额")
    private BigDecimal installmentAmount;

    @ApiModelProperty("银行基础费率")
    private BigDecimal rate;

    @ApiModelProperty("期数")
    private Integer term;

    @ApiModelProperty("宽限期")
    @Min(1)
    @Max(28)
    private Integer gracePeriod;


}
